import http from "@/api";

/**
 * @name //门禁管理
 */

// 获取人员列表
export const getEmployeeList = (params = {}) => {
  return http.post(`/employee/query`, params, { noLoading: true });
};

// 获取门禁申请列表
export const getAuthRegisterList = (params = {}) => {
  return http.post(`/nh/auth-register/query`, params, { noLoading: true });
};

//门禁审批
export const saveAutnRegister = (params = {}) => {
  return http.post(`/nh/auth-register/save`, params);
};
